<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>用户登录</h1>
<!--给我们的LoginServLet发出Get请求提交表单 method=post表示要发出post请求-->
<form action="http://localhost:8080/http/login" method="post">
    U:<input type="text"name="username"/><br/>
    p: <input type="password" name="pwd"/><br/>
    <input type="submit"value="用户登录"><input type="reset"value="清空">
</form>
</body>
</html>